package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 课程管理对象 ccs_course
 * 
 * @author ruoyi
 * @date 2024-04-26
 */
public class CcsCourse extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 课号 */
    @Excel(name = "课号")
    private String courseNum;

    /** 课程名称 */
    @Excel(name = "课程名称")
    private String courseName;

    /** 学分 */
    @Excel(name = "学分")
    private Long scour;

    /** 课程安排（上课地点、时间） */
    @Excel(name = "课程安排", readConverterExp = "上=课地点、时间")
    private String schedule;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setCourseNum(String courseNum) 
    {
        this.courseNum = courseNum;
    }

    public String getCourseNum() 
    {
        return courseNum;
    }
    public void setCourseName(String courseName) 
    {
        this.courseName = courseName;
    }

    public String getCourseName() 
    {
        return courseName;
    }
    public void setScour(Long scour) 
    {
        this.scour = scour;
    }

    public Long getScour() 
    {
        return scour;
    }
    public void setSchedule(String schedule) 
    {
        this.schedule = schedule;
    }

    public String getSchedule() 
    {
        return schedule;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("courseNum", getCourseNum())
            .append("courseName", getCourseName())
            .append("scour", getScour())
            .append("schedule", getSchedule())
            .toString();
    }
}
